package cn.org.timespace.ons.service.base;

import java.util.List;

import cn.org.timespace.ons.action.base.OptionsModel;
import cn.org.timespace.ons.util.pager.Pager;
import cn.org.timespace.ons.vo.base.Options;


/*
 * 下拉列表
 * author:ync
 */
public interface OptionsService {
	
	//组合查询
	public List<Options> findByCondition(OptionsModel model);
	
	public List<Object> findByCondition(OptionsModel model,Pager p);
	
	public Options findById(java.lang.String id) ;
	
	public void update(Options instance);
	
	public void save(Options transientInstance) ;

	public void delete(Options persistentInstance) ;
	
	public Options doCheckOptionsNameIsExist(String code);
	

}
